package com.wht.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author wuhaotian
 * @since 2021-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="User对象", description="用户表")
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "用户ID")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户中心ID")
    private String ucId;

    @ApiModelProperty(value = "用户账号")
    private String accountName;

    private String ucPassword;

    private String password;

    @ApiModelProperty(value = "1:司机app, 2:车主app, 3:tboss, 4:物流web")
    private Integer createType;

    private String name;

    @ApiModelProperty(value = "用户电话")
    private String phone;

    @ApiModelProperty(value = "组织机构代码")
    private String orgCode;

    @ApiModelProperty(value = "客户标签")
    private String custTag;

    @ApiModelProperty(value = "地域")
    private String region;

    @ApiModelProperty(value = "省份/直辖市")
    private String provinceDesc;

    @ApiModelProperty(value = "地级市")
    private String cityDesc;

    @ApiModelProperty(value = "县级市/县")
    private String countyDesc;

    private String identityCard;

    @ApiModelProperty(value = "驾照类型")
    private Integer drivingLicense;

    @ApiModelProperty(value = "创建者ID")
    private String createUserId;

    @ApiModelProperty(value = "车队版用当前车队ID")
    private String ownrCurTeamId;

    @ApiModelProperty(value = "司机版用当前车队ID")
    private String drvrCurTeamId;

    @ApiModelProperty(value = "司机版用当前车辆ID")
    private String drvrCurCarId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "最后登陆时间")
    private Date lastLogonTime;

    @ApiModelProperty(value = "首次登录时间")
    private Date firstLoginTime;

    @ApiModelProperty(value = "邀请人id")
    private String inviterId;

    @ApiModelProperty(value = "客户APP用户头像url")
    private String userPicUrl;

    @ApiModelProperty(value = "新手指引标签 0 老用户 1 新用户未完成新手指引 2 完成新手指引")
    private Integer noviceGuideTag;

    @ApiModelProperty(value = "发送消息使用的key值")
    private String sendMessageKey;

    @ApiModelProperty(value = "0-用户端，1-车队端")
    private String appType;

    @ApiModelProperty(value = "0 android 1 ios")
    private String deviceType;

    @ApiModelProperty(value = "签名")
    private String signature;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "兴趣")
    private String interest;

    @ApiModelProperty(value = "生日")
    private Date birthday;

    @ApiModelProperty(value = "驾龄")
    private Integer drivingAge;

    @ApiModelProperty(value = "邮件")
    private String email;

    @ApiModelProperty(value = "年收入单位（万元）")
    private Integer annualIncome;

    @ApiModelProperty(value = "真名")
    private String realName;

    @ApiModelProperty(value = "设备唯一标识")
    private String deviceId;

    @ApiModelProperty(value = "信息是否已经补全, 1: 已经补全")
    private Integer infoOk;


}
